/*
 * @Description: 全文检索
 * @Author: Zzt
 * @Date: 2022-08-23 10:13:06
 * @LastEditTime: 2022-10-08 18:12:58
 */
import classNames from 'classnames/bind';
import styles from '../styles/SearchWarp.module.scss';
import { useFullTextContext } from '../contexts/FullTextContext';
import SearchWarp from '../../components/SearchWarp/SearchWarp';

const cx = classNames.bind(styles);

const FullTextMain = () => {
  const { getCondition, getFieldConditionList, conditions, fieldConditionList } =
    useFullTextContext();

  return (
    <div className={cx('advance-container')}>
      <SearchWarp
        getCondition={getCondition}
        getFieldConditionList={getFieldConditionList}
        conditions={conditions}
        type={2}
        fieldConditionList={fieldConditionList}
      />
      {/* 目前暂时去掉 */}
      {/*  <div className={cx('tips')}>
        <p>
          tips：全文检索是主要针对<b>&nbsp;&nbsp;电子原文&nbsp;&nbsp;</b>进行模糊检索
        </p>
        <p>1.如果希望检索档案结构性条目，请切换到【条目检索】</p>
        <p>2.如果希望利用标签聚类内容检索，请切换到【标签检索】</p>
        <p>3.如果要多条件，进行交叉综合检索，请切换到【高级检索】</p>
      </div> */}
    </div>
  );
};
export default FullTextMain;
